package com.legendshop.openportal.sdk.model.request;

import com.legendshop.openportal.sdk.model.BaseRequest;
import com.legendshop.openportal.sdk.model.constants.ApiPathConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author jzh
 * @version 1.0.0
 * @title BatchCheckCancelRequest
 * @date 2023/6/27 10:06
 * @description：批量查询订单是否可取消
 */
@Data
@Accessors(chain = true)
public class BatchCheckCancelRequest extends BaseRequest {

	private static final long serialVersionUID = 7381308288059009583L;

	/**
	 * 订单号，请以，(英文逗号)分割。例如：129408,129409
	 * (最高支持20个订单)
	 */
	@ApiModelProperty("订单号")
	@NotBlank(message = "订单号不能为空")
	private String subNumbers;

	@Override
	@ApiModelProperty(hidden = true)
	public String getApiPath() {
		return ApiPathConstants.BATCH_CHECK_CANCEL_ORDER;
	}
}
